package com.start_eternity.oasissafewalk.mapper;

import com.start_eternity.oasissafewalk.pojo.FeedBack;
import com.start_eternity.oasissafewalk.pojo.Order;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * author:ZhangT
 * Date:2024 / 03 / 10 / 17:07
 * Description:
 */

public interface FeedBackMapper {

    //动态查询反馈
    List<FeedBack> queryList();

    //删除反馈内容
    int deleteBachId(List<Integer> ids);

    //添加反馈
    int insert(FeedBack feedBack);

    //分页查询
    @Select("select * from `feedback`")
    public List<FeedBack> queryPage(@Param("page") int page, @Param("pageSize") int pageSize);

}
